package inheritance;

public class Father extends GrandFather {
	
	// 필드 - 없음
	
	// 생성자
	public Father() {
		System.out.println("I'm a Father!!");
	}
	
	// 메서드
	public void sayFatherNumber() {
		System.out.println("sayFatherNumber() 호출");
		for (int i = 10; i < 20; i++) {
			System.out.print(i + " ");
		}
		System.out.println();
	}
	
}
